package com.spring.ioc.example.service;

import com.spring.ioc.example.dao.UserDao;
import com.spring.ioc.example.dao.UserDaoImpl;
import com.spring.ioc.example.dao.UserDaoMySQL;

public class UserServiceImpl implements UserService{

    private UserDao userDao ;
    public void setUserDao(UserDao userDao){
        this.userDao = userDao;
    }
    @Override
    public void getUser() {
        userDao.getUser();
    }
}
